I agree with that intention. But it also makes me question the `map_queue_weights` terminology. In this method, I read `map` as a noun, a synonym for a hash/dictionary. In the other method, I read it as a verb. To maintain the reciprocal relationship, I would expect a name like `from_queue_weights_map` (but I'm not advocating that name).

Might consider renaming that to `set_queue_weights`. This method would then make more sense as `get_queue_weights` (or `queue_weights` to avoid some Java-ism).

Regardless of the naming decided, I think it'd be nice to at least have a `to_h` alias.