fix bug where client creates new server object which has enum properties
(enum values not deserialized as enums)