issue #1152 if OMEXMLService.getOMEXML fails, fallback by calling Metadata.dumpXML and filter out bad XML entities like &#0;