XML import/export for documents described with moddle