improve input validation for objects and object arrays
Merge pull request #921 from crate/m/object_array_validation

improve input validation for objects and object arrays