Got the response working for JSON