Add template locals variables to job_template