getRoles() bug?

I have two roles defined, ‘admin’ and ‘newUser’. I’ve repeated the name of the role in the description: ‘admin role’, ‘newUser role’ for clarity.

I do this call:
managementClient.getRoles({})
.then(roles => roles )
.catch(err => err);

which returns:

[
{ “id”: “rol_lpAsoQv3qjhYM4gM”, “name”: “newUser”, “description”: “admin role” },
{ “id”: “rol_g8Bw9emQfkzT6rEY”, “name”: “newUser”, “description”: “newUser role” }
]

Both the admin and newUser objects have name ‘newUser’.