def METHOD_NAME(self):
    with open(self.data_json, 'rb') as f:
        dataset_json = json.load(f)
    modalities = dataset_json["modality"]
    modalities = {int(k): modalities[k] for k in modalities.keys()}
    return modalities