Could you handle (potential) JSON errors?
get_json(force=True, silent=True)
Where force ignores the content_type and silent doesn't raise an exception if the object couldn't be decoded (or if you have a better solution....)