fixing the json response