Toon API add-on not working anymore. Invalid API response

I have rooted my Toon because of this.
There is a very useful binding for Rooted Toon thermostats

See
Rooted (locally accessible) Toon