class_docstr: The configuration space of a schedule.
docstr: convert to a json serializable dictionary
  
  Return
  ------
  ret: dict
      a json serializable dictionary
docstr_tok: ["convert","to","a","json","serializable","dictionary","Return","--","--","--","ret",":","dict","a","json","serializable","dictionary"]
code: def to_json_dict(self):
      """convert to a json serializable dictionary
  
      Return
      ------
      ret: dict
          a json serializable dictionary
      """
      ret = {}
      entity_map = []
      for k, v in self._entity_map.items():
          if isinstance(v, OtherOptionEntity):
              entity_map.append((k, "ot", v.val))
          else:
              raise RuntimeError("Invalid entity instance: " + v)
      ret["e"] = entity_map
      space_map = []
      for k, v in self.space_map.items():
          entities = [e.val for e in v.entities]
          space_map.append((k, "ot", entities))
      ret["s"] = space_map
      return ret
  
imports: from collections import OrderedDict
  import numpy
label_desc: Use image node_id 5 for calling the ConfigSpace obj's underlying member method code with example usage: obj.to_json_dict() and returns: ret