handle redis hgetall result