moved generation of json request parameters to JsonUtils