Fixed an issue with the structure not showing as it should, and added the RDF metadata back into the writer document.