ConfigDict has a flag
use_enum_values = True
for this case docs.pydantic.dev/latest/api/config/…