Fix output from list_template to be more readable