redis storage method for node.js module local-json.