Added support for aggregated fields in CSV output.