Make arrays and its contents validatable