refactoring so to handle CNKB result largely the same way as other
result types. also avoid the unnecessary conversion to and from byte
array.