code: def read_dict_or_list_from_json(desired_type: Type[dict], file_object: TextIOBase,
                                  logger: Logger, conversion_finder: ConversionFinder, **kwargs) -> Dict[str, Any]:
      
      # lazy import in order not to force use of jprops
      import json
      res = json.load(file_object)
  
      # convert if required
      return ConversionFinder.convert_collection_values_according_to_pep(res, desired_type, conversion_finder, logger, **kwargs)
docs: Helper method to read a dictionary from a .json file using json library
      :param file_object:
      :return: