結果 : typescript create map from list of objects