Fixes #7001 - Prints table headers when no data
Added tests
Merge pull request #146 from adamruzicka/remove-no-data

Fixes #7001 - Prints table headers when no data
Fixes #6754,BZ1122650 - Adds YAML and JSON output adapters