Ticket #113; This time jinja-based solution ;)