code: def get_kbd_values_json(kbname, searchwith=""):
      
      res = get_kbd_values(kbname, searchwith)
      return json.dumps(res)
docs: Return values from searching a dynamic kb as a json-formatted string.
  
      This IS probably the method you want.
  
      :param kbname:     name of the knowledge base
      :param searchwith: a term to search with