The question concerns saving JSON files to disk. Why is the file write function used in the Windows API (https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-writefile) called twice per file save (screenshot attached). Is this normal behavior?
To view server activities, a standard Windows utility was used https://learn.microsoft.com/en-us/sysinternals/downloads/procmon