Fix build and test (application/json takes no charset). #68