replaced the data bag approach by a node attribute hash