Take role_id out of details