type is guaranteed to exist. Could I use this field as a discriminator somehow?type field can have...almost 35 values, and I'm sure even more as the events this websocket can send to me will expand with time as well. The idea of a 35-case switch statement doesn't sit well with me