Add simple support for tags in YAML I/O