Convert main config file to yaml