Chage Json structure for grouping products in catalog