Refactored lib/ObjectValidator #validateObject #validateArray (extract method)