code: def generate(json_path):
      content = clean()
      with open(json_path, "w+") as f:
          json.dump(
              {
                  "content": content,
              },
              f,
          )
  
imports: import json
  import os
  import re
label_desc: Use image node_id 2 for calling a global function with example usage: generate(json_path) without return types