<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_template(template_file='', **kwargs):
 """Get the Jinja2 template and renders with dict _kwargs_. Args: template_file (str):
 name of the template file kwargs: Keywords to use for rendering the Jinja2 template. Returns: String of rendered JSON template. """

    template = get_template_object(template_file)

    LOG.info('Rendering template %s', template.filename)
    for key, value in kwargs.items():
        LOG.debug('%s => %s', key, value)

    rendered_json = template.render(**kwargs)
    LOG.debug('Rendered JSON:\n%s', rendered_json)

    return rendered_json