Add more robust parsing to get the ROLES used in a dump.