code: def serialize(self):
          
          res = {}
          for key, item in list(self.items.items()):
              res[key] = item.serialize()
          return res
docs: This function serialize items into a simple dict object.
          It is used when transferring data to other daemons over the network (http)
  
          Here is the generic function that simply serialize each item of the items object
  
          :return: Dictionary containing item's uuid as key and item as value
          :rtype: dict