Changes redis object to cassandra session object