Export JSON as CSV

Convert JSON arrays to CSV format for spreadsheets