Couchbase group by data


down vote
I know the couchbase map/reduce can be used to group by using group_level but I want group the data and not just want the count.Here is the scenario

Here is the data in couchbase


Now I want, is


Is there a way I can achieve this thru map/reduce functionality in couchbase?