CSV Export Person-based refactor: make attr map code-key based