Gracefully handle JSON errors (wtf)