Interfaces are always of type object, and should be validated as such
Inline objects are also objects
Merge branch 'master' into hmartinberg
v0.5.0