Remove cast to Dict2D in mapping_file_to_dict