Created utility function tag_parser to parse string into tags in
complying format