builder YamlParser: using deep_format instead of str.replace in injectTemplateParams