Changed MiniYaml.NodesDict property into a method.

Cached a few invocations into locals which should prevent some redundant evaluation.