Allow to render enums by labels

You need to pass enum_as_labels = True in ordre to do so