Get configuration as JSON

Returns the configuration as a JSON document.