support for excluding metadata during exportEntities call