'Render data_input back into a file.
data_input is either a string or a filename
search_table is a dict of metadata keys and values
out_path if not-none writes the results to a file
(though results are always returned)
subject is a profile or system object, if available (for snippet eval)'

def render_jinja2(self, raw_data, search_table, subject=None):

    try:
        template = jinja2.Template(raw_data)
        data_out = template.render(search_table)
    except:
        data_out = '#    EXCEPTION    OCCURRED    DURING    JINJA2    TEMPLATE    PROCESSING\n'
    return data_out
