Fixes invalid yaml.