These blocks are a bit weird. You create a list, add a single item to it, serialize that list to string, and then later use a StringBuilder to merge all the strings into a yaml block.  It would be much simpler if you returned the MiniYamlNode, and then built the list and string in the function that calls this.