Serialize VisualObject for Body's.

Previously, VisualObjects were not being parsed from the XML, and they were not
being written out either.