Add `.json` to the API call

So that browsers don't try to download the file. Not actually sure if
this will correctly set the Content-type. It's a little bit fun trying
to work within the constraints of a GitHub-hosted site.
Merge branch 'master' into gh-pages