Typescript Get Distinct Values From Object Array In Typescript