fix node attribute inspect vs to_s problem

this fixes #1562 
Shouldn't this be `@attributes.to_s`?