make retrieval of sorted sets generic

* harmonize returnig struct
guarantee that redis keys are truly unique