There seems to be an issue with using a "|" as the last character of a string because the string is not quoted when being inserted in to the YAML file. I have testing a couple other characters and "*" and "'" seem to result in a quoted string being inserted in to the YAML file.