swh-graph: Translate node IDs on the Java side, not Python side
Doing it on the Python side prevents using the minimal perfect hash function, which is a lot more efficient and takes less space than the mappings.
Migrated from T3740 (view on Phabricator)