Get Distinct Values From Json Array Javascript Documentation