refactored the json request string so it looks reasonable