Javascript Get Distinct Values From Json To Kotlin