Generating enums by external_id (instead of label)