given a swig template, create a dummy context which is useful for template composing tools