Typescript Get Single Item From Array To Hashmap