Refactor duplicated code in Xpp3Dom and Xpp3DomUtils
The following methods are duplicated (or nearly identical):
mergeXpp3DomwriteToSerializerisEmptyisNotEmpty
Move all the code to only one of the classes. Deprecate methods in the other class, delegating its implementation to the first class.