code: def dump(self):
          
          # Find all nodes manually, as the Keep object isn't aware of new ListItems
          # until they've been synced to the server.
          nodes = []
          for node in self.all():
              nodes.append(node)
              for child in node.children:
                  nodes.append(child)
          return {
              'keep_version': self._keep_version,
              'labels': [label.save(False) for label in self.labels()],
              'nodes': [node.save(False) for node in nodes]
          }
docs: Serialize note data.
  
          Args:
              state (dict): Serialized state to load.