docs: def _from_dict(cls, _dict):
          """Initialize a MessageOutputDebug object from a json dictionary."""
          args = {}
          if 'nodes_visited' in _dict:
              args['nodes_visited'] = [
                  DialogNodesVisited._from_dict(x)
                  for x in (_dict.get('nodes_visited'))
              ]
          if 'log_messages' in _dict:
              args['log_messages'] = [
                  DialogLogMessage._from_dict(x)
                  for x in (_dict.get('log_messages'))
              ]
          if 'branch_exited' in _dict:
              args['branch_exited'] = _dict.get('branch_exited')
          if 'branch_exited_reason' in _dict:
              args['branch_exited_reason'] = _dict.get('branch_exited_reason')
          return cls(**args)