Cleaning metadataGenerator from duplicate fields.