buffer toJSON change on node 0.11+

http://nodejs.org/docs/v0.11.12/api/buffer.html#buffer_buf_tojson

```js
console.log(json);
// '{"type":"Buffer","data":[116,101,115,116]}'
```