add ability to validate an array of documents