The goal is to dump a python dictionary as a yaml string with pyyaml that is then rendered by jinja2. The values within the dictionary might contain references to functions that