Rescue LoadError if json library is not available when registering body_as_json