This should be called convert_to_hashable, because for example `convert_to_tuple(2)` does not return a tuple