Add the node name attribute to the output for use when running in a for loop against a list of nodes