Push the json_request method up to the ApplicationController for use everywhere