export displayed columns and associative fields.
remove comments.