Consistent return type of vector<nodename>