fix: no longer writes json file every onBrowserComplete event