Fix that the "ColumnHeaders" option has no effect for json output

Fixes another bug that the "Columns" option did not disable
ColumnHeaders at all.

refs #5317
Merge branch 'fix/column-headers-in-json-output-5317' into next

fixes #5317