replace RMINode constructor for key instead of url