def on_name(self, node):    # ('id', 'ctx')
        ctx = node.ctx.__class__
        if ctx == ast.Del:
            val = self.symtable.del_symbol(node.id)
        elif ctx == ast.Param:  # for Function Def
            val = str(node.id)
        else:
            # val = self.symtable.get_symbol(node.id)
            try:
                val = self.symtable.get_symbol(node.id)
            except (NameError, LookupError):
                msg = "name '%s' is not defined" % node.id
                self.raise_exception(node, msg=msg)
        return val
Write newline separated JSON dicts for each value.
dataset/ETHPy150Open xraypy/xraylarch/lib/interpreter.py/Interpreter.on_name--crossover with--dataset/ETHPy150Open google/grr/grr/lib/output_plugins/bigquery_plugin.py/BigQueryOutputPlugin.WriteValuesToJSONFile