improved 'validation-errors' speed by turning values into schemas in advance
when possible