code: def serialize(serializable):
      """Takes a serializable object and JSONifies it"""
      return json.dumps(
          serializable,
          sort_keys=True,
          default=default_serialize,
          indent=2,
      )
  
file_path: deck.gl/bindings/pydeck/pydeck/bindings/json_tools.py
imports: import json
  from pydeck.types.base import PydeckType
label_desc: Use image node_id 6 for calling a global function with example usage: serialize(serializable) and returns: json