refactored to make CCM do file i/o rather than dtest in run_sstable2json and run_json2sstable