private static MsgPack.MessagePackObject? TryGetValueFromDictionary(MsgPack.MessagePackObjectDictionary dict, string key) { if (dict.TryGetValue(key, out var value)) { return(value); } return(null); }