Add a simple json encoder and use it to print fio output in json format