def METHOD_NAME(self):
    groups = []
    for group in self.groups:
        groups.append(group.METHOD_NAME())
    return dict(
        name=self.name,
        vars=self.vars.copy(),
        address=self.address,
        uuid=self._uuid,
        groups=groups,
        implicit=self.implicit,
    )