fix error message when extra properties are passed

I was getting an error message formatted as:
```
booleanThe property anExtraOption is not defined in the schema and the schema does not allow additional properties
```
...which is clearly not right