Use YAML for saving settlements, closes #2