Add json response parsing