keylist handling for batchinsert