added support for parsing enum values on an EntityType