HV-664 Updating the node name of return values to be null

Also updating tests and refactoring the toString implementation of Path to insert $retval for return value validation