extended CSV Export to allow for key names in CSV header