Cleans up manse selections through a map
Moves lists of names and attributes to JSON files