Transform tag_list template tag into context processor