Create a filter that reads the raw logs data and produces a serializable output

can be run like 
rawlogsFilter.js logsFile.logs | load
or cat logsFile.logs | rawlogsFilter.js | load

where load is a program to load raw log data that has been filtered by rawlogsFilter.js.

Curious, why not use the cereal's JSON format itself for debugging?

If the goal is to manually see the values of the fields, it does the job. If the issue is that it's the same JSON we are making work, cereal has XML serialization as well. Could have saves a few keystrokes ...