Generate a string representing all the configuration values.

        Args:
            with_defaults (bool): if ``True``, values of items with no custom values will be included in the output
                if they have a default value set.

def dumps(self, with_defaults=False):
        """
        Generate a string representing all the configuration values.

        Args:
            with_defaults (bool): if ``True``, values of items with no custom values will be included in the output
                if they have a default value set.
        """
        return self._rw.dump_config_to_string(self._config, with_defaults=with_defaults)