jq -s '.' input.jsonl > output.json
And the other way:
jq -c '.[]' input.json > output.jsonl
#jq #commandline