Fixed createExampleConf
So that it creates a example config file with json instead of toml format