macaroon: Update get_text call according to latest API
macaroon: When recording, put right ATSPI roles in the output sequence