allow returning the mapping in the convert_node_labels_to_integers method.