Putting serialized data into fixture

I haven't tried with yaml, but with xml, I do like this:

one:   id: 1   board: !str '<%= my_xml %>'