refs BT#7887

Add a session column and modify the headers when export