Changed configuration file to json