Gather up a JSON response from a server, and call the cb