writing data to redis as-is