I have removed one level of the hash in the above bit.

Ok if we remove uniqueness of the url, then I agree that keeping the name as the key is much better. I will raise a new PR for that.

Pushed, thanks.