code: def deserialize(self, data, fields=None):
          
          # TODO: it can be that we returned data by `get_lines`, that is already deserialized
          if not isinstance(data, (bytes, bytearray)):
              return data
          return msgpack.unpackb(data, encoding='utf-8', object_pairs_hook=decode_to_sorted)
docs: Deserializes msgpack bytes to OrderedDict (in the same sorted order as for serialize)
          :param data: the data in bytes
          :return: sorted OrderedDict