Add json formatter script

This script is currently used in entity-manager
to auto format configurations. Basically it just
runs the json through python's json library and
outputs the json formatted alphabetically.

Change-Id: I689033946345af35d098e8f053df5dbd62a1fd45
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/feistjj/autojson.py b/feistjj/autojson.py
new file mode 100755
index 0000000..e4f2818
--- /dev/null
+++ b/feistjj/autojson.py
@@ -0,0 +1,14 @@
+#!/usr/bin/python3
+# all arguments to this script are considered as json files
+# and attempted to be formatted alphabetically
+
+import json
+from sys import argv
+
+for file in argv[1:]:
+   print("formatting file {}".format(file))
+   with open(file) as f:
+      j = json.load(f)
+
+   with open(file, 'w') as f:
+      f.write(json.dumps(j, indent=4, sort_keys=True, separators=(',', ': ')))