Typescript Add Property To Object From Array To Hashmap