Modulo.toXMLAnnotation() does something a little different from OMEXMLMetadata.dumpXML() - possibly confusing to copy the documentation here?