Add YAML support (closes #5)