結果 : map array to dictionary javascript