結果 : write an array to a json file python