A little more reliable check for JSON support