changes made for attributes of xml node to be in a property called 'attributes' of the node