Ability to get json encoded data for PUT and POST requests