[Validator] Add ConstraintViolationList::toArray method