Added new method to get all the tags as a string.