Support YAML

Closes issue #17