Response-shaping helpers shared by Client and Session: the ABI's JSON payload shapes are identical regardless of which handle made the call.