Remove invalid character from YAML