xmlSerializeHook function

Functions that help serialize and deserialize XML internal objects