update for redis module
consistent use of existing macros
un-initialized key contexts after copying struct