Send $switch and not $switch->{_id} for getNodeInfoForAutoReg