Entitlement Mediator- Removing switch in deserializer class