server is sending json objects to the browser