Persistence layer for redis data types