Javascript Filter Out Object From Array To Hashmap Get Example