include to_json support explicitly