We can figure out if something is JSON without an `isJSON` flag. If this isn't accurate enough, I'd still say use `try ... catch` before passing around type flags.