`result` is the return array from the redis zrange/zrevrange with the `WITHSCORES` option. The return results will be an array of [id1, score1, id2, score2].

Here I am trying to create a map of id -> score from the redis results