Working on choice type deserialization.