Readability update to hydrators.
created test case to reproduce error
fixed bug
DDC-3103 - minor CS fixes/adjustments
Merge branch 'hotfix/DDC-3103-#1020-serialize-isEmbedded-in-class-metadata'

Close #1020
The proxy factory always expects non-null identifier values