cleaned up redis value parsing