Here is a way to handle large output.
e.g. Terminal Command Plugin
By default maximum length of property value is 1024 bytes, but “composite” property can exceed the limit.
Step1: Enable GUI Visibility of the property in "Create Flow" step of Service Builder
Step2: Change data type to “composite” in "GUI Settings" step of Service Builder
Step 3: If you don't want to show the property in GUI, hide the property.