Set Accept header to application/json.

Setting the Accept header does a better job of ensuring we get back JSON, rather than HTML, from a greater range of servers. In my case, this is required to get JSON from a https://github.com/smizell/hyperschema.org server.