buffer toJSON change on node 0.11+
Merge pull request #1 from node-modules/fix-buffer-toJSON

buffer toJSON change on node 0.11+