add roles to api call output