add support for JSON type