working on transfering yaml configuration file into json format