changed formatting of json response