TS/TJ: getScoped with keyword arguments, use getScoped(collectedLog, scopeNames, key)
TS/TJ: removed unused internal method