Convert a JSON array to CSV for Excel, or CSV to JSON. Nested fields are flattened with dot notation.