Make keys data blobs to be more compatible to berkeleydb