JSON Export flush added
Fixed scope destruction for I*Invoker