Thank you for your quick reply!
It seems to me that unlike field definitions, field groups do not have all the necessary information in the code.
If I am right, the question is why we don’t have them in the code? Otherwise, why can’t the field groups be shown? This is a not only a feel-good factor for the administrator, but also, it allows a quick edit opportunity.
Is it on purpose?
I would say it is a limitation, but any chance that you might come up with a solution?