correctly parse payload and catch possible errors for node
Merge pull request #188 from thousandsofthem/update-node-helper

correctly parse payload and catch possible errors for node