Removing XML-entities during serialization