I don't know the reason it uses name but it seems like a bad choice since I don't think we validate names to make sure they are RFC 3986 compliant. Moreover it doesn't look like we convert names to be compliant in the CLI when making requests (from what I can tell). That said, I would probably argue that changing this is outside the scope of this PR.