Support both no format and JSON