Convert mackup config to YAML
Refactor