fixed bug with node attributes - closes #432
added a comment about json dataType - closes #431