Copy tag name buffer to temp string. Fixed some tests
Use dynamic buffer to store the yaml output