Use an unicode aware context in the jinja render call. Refs #3436
Only `basestring`'s should be `unicode`'d.