結果 : javascript create dictionary from array of objects