both parse and output

parsing YAML

outputting YAML