classic-ui: fix for fix status output in JSON format not including short and long plugin output properly #5217

Newline in JSON and CSV output got double quoted. Actual quoting got moved to
where data is printed.

refs: #5217
whatthecommit: I must have been drunk.
Merge branch 'fix/json-long-status-output-5217' into support/1.10

Fixes: #5217