Fixes DDC-2984. Made DDC-742 more resilient to recurring failures.
Add: invalidDiscriminatorValue method
Fix: handle invalid discriminator value
[DDC-3076] Add test
[DDC-3076] Fix ObjectHydrator
[DDC-3076] Add/Improve tests
Merge branch 'DDC-3076' into 2.4