Index: benchmark/rmit.py
===================================================================
--- benchmark/rmit.py	(revision 836c99257e6a42849c262ca73db2156c4f9e64d6)
+++ benchmark/rmit.py	(revision 26ceca1cf632b853546614fba501c55307c98418)
@@ -12,4 +12,5 @@
 import datetime
 import itertools
+import json
 import os
 import random
@@ -117,8 +118,8 @@
 	# ================================================================================
 	# parse command line arguments
-	formats = ['raw', 'csv']
+	formats = ['raw', 'csv', 'json']
 	parser = argparse.ArgumentParser(description='Python Script to implement R.M.I.T. testing : Randomized Multiple Interleaved Trials')
 	parser.add_argument('--list', help='List all the commands that would be run', action='store_true')
-	parser.add_argument('--format', help='How to print the result', choices=formats, default='csv')
+	parser.add_argument('--format', help='How to print the result', choices=formats, default='json')
 	parser.add_argument('--file', nargs='?', type=argparse.FileType('w'), default=sys.stdout)
 	parser.add_argument('-t', '--trials', help='Number of trials to run per combinaison', type=int, default=3)
@@ -203,8 +204,14 @@
 
 	# ================================================================================
-	# Print csv
+	# Print raw
 	if options.format == 'raw':
 		for r in result:
 			print(r, file=options.file)
+		sys.exit(0)
+
+	# ================================================================================
+	# Print json
+	if options.format == 'json':
+		json.dump(result, options.file)
 		sys.exit(0)
 
