make the urlencode to be a filter of jinja