Parser for CSV-like array and tuple structures for types in PostgreSQL