Update importer to new metadata format