FOR u IN users COLLECT city = u.city INTO g RETURN { "city" : city, "users" : g }