I'm not sure I'd call these "export" but instead call them "to_json" or something like that.