TIMOB-13359: Added support for error objects of an event payload to be other than string.
Merge remote-tracking branch 'origin/timob-13359-3_1_X' into 3_1_X_lanica