Add a flag `--log-format` that can be set to plain (default) or json. In plain, the log being output to stdout reads like any other log you'd see. In json, a structured log is output to stdout so that it is more searchable in logging systems.