support JSON Request Body for POST and PUT actions