Initial implementation of CSV export workflow.
Add header to csv output. Fix example data.