結果 : convert json object to array of objects in javascript