Format reports to CSV