I would name this method with a different name, I would expect a json string/object from a `to_json` method.