access attributes

escape newlines, json doesnt like them
changelog for #447
Merge pull request #447 from JonRowe/access_node_attributes

Allow access to node attributes