processing json response from curl request