Marked up object with serialization attributes but had to use nasty reflection
Added reasoning
Merge pull request #2 from codeite/make_xml_serializable

Make xml serializable. Needed to use reflection though.