parse redis reply