Connect to Redis based on JSON configuration