objectsTOxml conditional XML update

changed objectsTOxml to test conditional field serialization. this may
not be the only way to do it. but it does not require implementing
IXmlSerializable.