Add $type

$type operator would be extremely useful for using filter to validate JSON input.