Have you tried the Document to Text integration? Might be better than the Generate Text option. Or the Text to JSON?