How do we get rid of the group name in the dataset while downloading data through API?

Hi
By default group names form part of the downloaded data and I have not seen a documented way of removing the group names from them when pulling data using API. Let hope other users can add into this if they have done it

Stephane