Pretty-print data structure as YAML