Double encode data key on events