code: def from_dict(cls, d):
          
          result = super(ActorHandler, cls).from_dict(d)
          if "actors" in d:
              l = d["actors"]
              for e in l:
                  if u"type" in e:
                      typestr = e[u"type"]
                  else:
                      typestr = e["type"]
                  result.actors.append(classes.get_dict_handler(typestr)(e))
          return result
docs: Restores an object state from a dictionary, used in de-JSONification.
  
          :param d: the object dictionary
          :type d: dict
          :return: the object
          :rtype: object