why don't you just loop through the sublist to get...
# suitescript
k
why don't you just loop through the sublist to get only the data you need and add that to your json? I'd also try using the debugger to step through each line of your code to see which part is taking the most time