create group by country json