automatically add allowed values for enum fields