Allow csv_export method to pass a collection