adapt wip/v8 sdk code to new readers