Typescript Add Property To Object From Array To Hashmap In C