I discovered that my previous commit will never work as it's impossible to work out the obj value from the schema index. Back to the drawing board. This is a re-worked 'old' version, with function moved to query.js (where it belongs) and some code improvement. Now, it's a matter of making it scan the schema starting from the _object_, to apply defaults, validators and setters on everything 'underneath' that schema