add simple functionality to print all nodes for list of jobids