docs: def get_output_tags(self):
          """
          Return an escaped string of comma separated tag_name: tag_value pairs
  
          Tags should be sorted by key before being sent for best performance. The sort should
          match that from the Go bytes. Compare function (http://golang.org/pkg/bytes/#Compare).
          """
  
          # Sort the tags in lexicographically by tag name
          sorted_tags = sorted(self.tags.items())
  
          # Finally render, escape and return the tag string
          return u",".join(u"{0}={1}".format(format_string(k), format_string(v)) for k, v in sorted_tags)