Also adding a `post_json` method, to wrap some of the serialization etc.