What's not clear is the result of assuming type `text` if `resultHint` is set to `jsonObject`, will this cause an encoding issue I'm not aware of? The result is always going to be an `object`, so I don't really want to care about the the encoding of the string if we can avoid it.