change config file to .json