def METHOD_NAME(self):
    dataset_meta = None
    if self.dataset_meta:
        dataset_meta = read_json(self.dataset_meta)
        if 'label_map' not in dataset_meta:
            if 'labels' in dataset_meta:
                dataset_meta['label_map'] = dict(enumerate(dataset_meta['labels']))
            else:
                warning("Information about dataset labels is provided. Please provide it for metric calculation.")
        else:
            dataset_meta['label_map'] = verify_label_map(dataset_meta['label_map'])
    return dataset_meta