CSV column headers from query export: SP7

When exporting query results to CSV, all column headers are the field names from the schema rather than the caption for those fields (e.g. “10.collectingevent.text4” rather than “Station number”). This request is to make the CSVs export with the captions so we don’t have to rename the columns every time we want to send data to someone.