Option to write machine-readable JSON output
When writing JSON to stdout, it is pretty-printed by default https://gitlab.com/gitlab-org/security-products/package-hunter-cli/-/blob/3cbccc4738283c976728851a1555962030052535/src/formatter.js#L84. This can cause parsing issues if the JSON is parsed by other programs.
To address this issue, there should be a command-line option that instructs the CLI to print machine-readable JSON.