Format return data in /roles correctly