fixes #5945 - API v2 roles missing data