utils for importing sessions from Redis