docs: def get_groups_dict(self) -> Dict:
          """
          Returns serialized dictionary of groups from inventory
          """
          return {
              k: deserializer.inventory.InventoryElement.serialize(v).dict()
              for k, v in self.groups.items()
          }