Allow Jinja templates to render a value which can be interpreted by the caller without losing support for running GCode inside the function