code: def to_json(self):
      return {"name": self.name}
  
file_path: AutoGL/autogl/module/hpo/suggestion/models.py
imports: from __future__ import unicode_literals
label_desc: Use image node_id 3 for calling the Algorithm obj's underlying member method code with example usage: obj.to_json() and returns: dict