if (!((keyStr.startsWith("__") && keyStr.endsWith("__")) || keyStr.startsWith("__collapsed_"))) {
                    String collapsedKey = getCollapsedVarNameForContext(keyStr, contextName);
                    PythonObject val = pop.call(key);

                    PythonObject pyNewKey = new PythonObject(collapsedKey);