We encountered the same issue, i guess for now Mendix doesn't provide the API to update List or Array as response variable.
We used JSON.stringfy to convert the list to string and use Community commons to convert back to list of object in Mendix.
If you find any optimized solution, please update the comment also