More output sanitization in config and notifier