Return all properties and values in a dictionary (includes private properties)

def as_dict(self):
        """Return all properties and values in a dictionary (includes private properties)"""
        return {config_name: getattr(self, config_name)
                for config_name, _ in self._iter_config_props()}