Adds all metadata to XML export