jsonutil: Recursively encode strings to fix proper encoding
Bump client min version to 8.