Correcting invalid YAML