Refactored redis result parsing