Convert JSON arrays of objects to CSV format with headers.
Convert a JSON array of objects to CSV format. Automatically extracts all unique keys as column headers. Properly escapes commas, quotes, and newlines in values.