bugfix for empty JSON
rename of mongo.distinct