DAWNSCI-597: Patch for adding stack traces to Python actor exceptions
and added flattener for python unicode objects.