new_contents: import json
  
  class attrdict(dict):
      def __init__(self, *args, **kwargs):
          dict.__init__(self, *args, **kwargs)
          self.__dict__ = self
  
  with open('model_config.json', 'r') as file:
      try:
          config = attrdict(json.load(file))
      except:
          raise("JSON config dictionary error.")
  
      case_name = config['case_name']
      c = attrdict(config['config'])
  
subject: Load JSON configuration parameters