Export variables to YAML.