Empty JSON leads to a wrong behaviour.

If you pass `{}` to `Converter::isJson()` you'll get returned false instead of true. `Converter::is()` also misbehaves because of that, it'll return *string* instead of *json*.

If you accept the pull request be aware that the return type has changed from mixed to bool which might break library users.