code: def json_to_config(dic, full = False):
    
    config = { }
    for entry in dic['items']:
      k = entry['name']
      if full:
        config[k] = ApiConfig.from_json_dict(entry, None)
      else:
        config[k] = entry.get('value')
    return config
docs: Converts a JSON-decoded config dictionary to a python dictionary.
  
    When materializing the full view, the values in the dictionary will be
    instances of ApiConfig, instead of strings.
  
    @param dic: JSON-decoded config dictionary.
    @param full: Whether to materialize the full view of the config data.
    @return: Python dictionary with config data.