Changes the command output in the query commands to the same approach used in the import/export and delete commands for better consistency (and arguably prettier output). It could probably still do with some fine tuning or maybe custmization options, but that's out of scope for this particular issue. Closes #1