Also cache buffers when encoding broadcast JSON.

Helps memory usage / GC.