The enumeration value is just a string value in xml, so converting the string to a enumeration value seems necessary to do something with this value in Mendix. Maybe there should be a easier way to map the string values to an enumeration, filing a feature request would be a good one :)