use json content params for PUT and POST