Fix to properly deserialize None-type (e.g. form msgpack serialized message)