retrieving grouping field from inner dictionary