Added the option to configure the logger with the JSON