Convert a JSON array into a CSV file with delimiter choice, nested object flattening, and HTML table preview.