It would be helpful if the JSON output contained the date it was emitted for.
With the current format, the only option is to include that with every event.
Otherwise, instead of emitting multiple JSONArray of event-JSONObject documents, emit a single JSONArray of JSONObject(date: JSONArray of event-JSONObject), that’s even easier to parse (multi-document support exists in few JSON parsers).