code: def to_dict(self, img_sets):
          
          # Get the basic Json object from the super class
          json_obj = super(DefaultPredictionImageSetManager, self).to_dict(img_sets)
          # Add list of image sets as Json array
          json_obj['images'] = [img_set.to_dict() for img_set in img_sets.images]
          return json_obj
docs: Create a dictionary serialization for a prediction image set handle.
  
          Parameters
          ----------
          img_sets : PredictionImageSetHandle
  
          Returns
          -------
          dict
              Dictionary serialization of the resource