Javascript Get Distinct Values From Json To Dart