Simple redis based cache for storing json or pickled values