Reshape a long stream of text data to a wide stream