pothos: discover enums, support string to enum