Default and constrain requests to json format