code: def tab(value):
      
      if is_data(value):
          h, d = transpose(*wrap(value).leaves())
          return (
              "\t".join(map(value2json, h)) +
              CR +
              "\t".join(map(value2json, d))
          )
      else:
          text_type(value)
docs: convert single value to tab-delimited form, including a header
      :param value:
      :return: