Fix response JSON object of http get method