Java/Kotlin: Speed up toString.ql
Java/Kotlin: Speed up toString.ql

It's less informative now, but manual debugging will likely be needed
to investigate failures.

github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql