Modified the schema validator to account for several nesting objects.

When there are several objects nested together validation fails because it didn't account for the structure mochijson/jiffy created.