Hide field group HTML output but retain nested fields

Using hook_form_alter (or another means), does anyone know of a way to hide field group HTML output but retain nested fields?

I want to be able to wrap fields in a field group on one page but not another.

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/4/feed