Offloading node ID/entity PK dict to disk (pickle) (needs cleaning up)