The schema var is undefined on deep child objects

I created an `event` table where I only defined part of the schema e.g. timestamp, type, etc.

Any child object that wasn't defined would throw an ambiguous error like `[TypeError: Cannot read property 'ip' of undefined]` which I eventually traced down to this recursive function.