Convert CSV data to a JSON array of objects — using the header row as property names — or convert a JSON array of objects back to CSV. Empty cells become empty strings and fields are properly quoted in the output. Useful when working between spreadsheet tools and APIs that exchange data in different formats.