[secor][progress-monitor] Add option to print metrics as JSON to stdout