Replace deprecated YAML keys