add additional fields to metadata, test for -Dbonaparte.noXML setting