[OLINGO-261] Simplifying enum handling