set the current tree as context, when compiling YAML structures as templates