Serializes the configuration object to a JSON string.
A JSON string representation of the configuration.