Remove DOMDocument handling from legacy converters

As discussed with @kore, storage engines should not be aware of high level representation of XML field type, that is DOMDocument.

Probably needs review by @patrickallaert.