code: def _toolkit_summary_to_json(model, sections, section_titles):
      """
      Serialize model summary to JSON string.  JSON is an object with ordered arrays of
      section_titles and sections
  
      Parameters
      ----------
      model : Model object
      sections : Ordered list of lists (sections) of tuples (field,value)
        [
          [(field1, value1), (field2, value2)],
          [(field3, value3), (field4, value4)],
  
        ]
      section_titles : Ordered list of section titles
  
      """
      return _toolkit_summary_dict_to_json(
          _toolkit_serialize_summary_struct(
              model, sections, section_titles
          )
      )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ..data_structures.sframe import SArray
  from ..data_structures.sframe import SFrame
  from ..data_structures.sgraph import SGraph
  from ..data_structures.sgraph import Vertex
  from ..data_structures.sgraph import Edge
  from .._cython.cy_sarray import UnitySArrayProxy
  from .._cython.cy_sframe import UnitySFrameProxy
  from .._cython.cy_graph import UnityGraphProxy
  from ..toolkits._main import ToolkitError
  import json
  import six
label_desc: Use image node_id 10 for calling a global function with example usage: _toolkit_summary_to_json(model, sections, section_titles) and returns: _toolkit_summary_dict_to_json