only write out modified attributes (i was a little scared what happens to values of unsupported attribute types) - actually saving of nodes works, who would have thought.