[sparql-hint addon] Cleaning trailing `)` and `}` chars when finding variables & atoms