docs: def _tostr(self,obj):
          """ converts a object to list, if object is a list, it creates a
              comma seperated string.
          """
          if not obj:
              return ''
          if isinstance(obj, list):
              return ', '.join(map(self._tostr, obj))
          return str(obj)