Allow JSON objects be used in `if` statements

I suggest considering a JSONValue «true» if it is not null. It is
useful when you want to know if the JSONValue you search for is found.