Prepare column structure before export