By default there is only one way to get this information in the admin.
- open the field group for editing
- top right of edit screen click on screen options
- check “Slug”
- scroll down the page to the slug field it contains the group ID, this is used for the JSON file name