Add method to get tags as a string