prepare vmConfigs from json to yaml format