remove old methods used to generate metadata
instead of phpdomdocumet the xmlwriter is used