Fixes node attribute strings