balde-template-gen: export template as format string