I don't think you need to call `__json__()` here, since the default serializer for jsonify should call it.