added json application header to httpresponse

Adding this to the http response allows the browser to interpret it as valid json