Added method to get the configuration files in json format