switch redis flags to storing expiration date as a value instead of key properties