This implies to write a test that validate each provider tree a bit like:
https://github.com/SciQLop/speasy/blob/main/tests/test_inventories.py#L51-L53
Ensuring that Speasy providers inventories only contain primitive types makes simpler serialization and metadata usage.