Add missing .json extension to --config flag