I need to open a YAML file with aliases used inside it:
defaults: &defaults foo: bar zip: button node: <<: *defaults foo: other
Have you try Psych ? Another question with psych here.