output mappings as flatten