Add strict type validator

What about booleans? The same applies to them (see the example with query string).