Actually, why encode the tuple as a String, why not just as a JSON object?