Changed config file to JSON