Parse CSV text into structured JSON arrays or flatten nested/flat JSON arrays into standard CSV format.