Reverted back to application/json media type

Using the GitHub media type was causing a crash, we'll have to
look into this once we've got a working demo app to test with.
Merge pull request #11 from rpwll/master

Revert to application/json media type

We'll stick with this for now, see #10