Switch to str.Template-based output system