CLI tool to convert logs to JSON