Fix command output display

When dictionaries were displayed a json formatted blob that was not
pretty was provided. This patch ensures json is pretty printed
again for methods that returned a dictionary.

Signed-off-by: Justin Thaler <thalerj@us.ibm.com>
Change-Id: I1a272a4283aede29989a2eed98d237fa20eed45a
diff --git a/thalerj/openbmctool.py b/thalerj/openbmctool.py
index dded2c7..c2bce07 100755
--- a/thalerj/openbmctool.py
+++ b/thalerj/openbmctool.py
@@ -4250,7 +4250,10 @@
             commandTimeStart = int(round(time.time()*1000))
             output = args.func(args.host, args, mysess)
             commandTimeStop = int(round(time.time()*1000))
-            print(output)
+            if isinstance(output, dict):
+                print(json.dumps(output, sort_keys=True, indent=4, separators=(',', ': '), ensure_ascii=False))
+            else:
+                print(output)
             if (mysess is not None):
                 logout(args.host, args.user, pw, mysess, args.json)
             if(args.procTime):