added support for CSV export - currently just contents
added more elements to CSV export