This commit ensures the token response is parsed correctly if the values are not a String. Fixes: gh-6087