結果 : javascript map array of objects to new object