updated nodeSerialToRest to use servi