I encountered the same issue and from what I remember, what cause the crash is not retreiving the data but serializing the log (or writeline) onto a log message (UiPath serialize all logs).
First solution and the simplest one when you have logs for a quite good amount would be to use the write text file activity to log the string.
You can then log log the textfile path for further reference if necessary.
Second option which is slightly more elegent is to :
- Use Deserialize Json activity
- Loop Through each Jtoken as as it suits you (of type Newtonsoft.Json.Linq.Jtoken)
- Log each token string
Here you have an example of log using Orchestrator API where i separated queues items