convert settings to yaml