converting from internal HashMap to Redis Connection