Also cache buffers when encoding broadcast JSON.
Merge pull request #11 from fancycode/broadcast_json_buffer

Also cache buffers when encoding broadcast JSON.