case _ =>
                  struct(loop(l.map {
                    case (column, _ :: tail) => (column, tail)
                    case (column, h :: Nil)  => (column, List(h))
                  }): _*).alias(structColumn)