fixed embedded document validation
Merge branch 'master' of https://github.com/Hivefication/Hive