Gets the value of a key in a map or null if the key doesn't exist.
the DataItem for the given key or null if the key doesn't exist.
the key to get the value for.
if the data item isn't a CborMap.