moved testjson, untested batchInsert