You should check out RecordStream. It has a lot of convenient processing built around JSON, and a lot of ways to get data to/from JSON.
https://github.com/benbernard/RecordStream/tree/master/doc
https://github.com/benbernard/RecordStream/blob/master/doc/R...