Use the 'csv-with-metadata-header' output format if it's available.

Trust me that I really thought long and hard about introducing another configuration item in to the portal!