work around booleans not being serialized to XML properly