Add YAML support

This cover #75.