If you try to send an object that's not JSON serializable (anything other than list, dictionary, integer, etc.), you get the following error message:
"errorMessage": "Object of type set is not JSON serializable" Even if you send a tuple, it gets converted into a list when it's passed to the second lambda.
So, what are the workarounds, if you want to preserve the object?