The first commit allows filtering logs via jq syntax.
The second one makes this tool output JSON lines for processing with other JSON log pretty-printing utilities.