Change session to YAML