Support `format: json` in config file