When exporting a bundle as a document add namespaces from parent