checkpoint calling through ffi to transform response body