Use tags for the headline when tab output format specified - allows for repeated tags
Add test for repeated tags in tab output