Added content-type header to the `post_json` method, some routes need it.