Javascript Filter Out Object From Array To Hashmap Get Method