Revert "HIVE-8793: improve printing"

This reverts commit c27a9a195ef4cc22dfe65393bba30e80afe72a71.
HIVE-8793: honor original order of LinkedHashMap