@kosi77 – it is an interesting tip 🙂 I am not sure if it will help but maybe it is worth to try.
I have analysed the logs and it seems that on the FTP level the file is corrupted – Publii downloads 57kb instead of 67kb what causes corrupted JSON file.
And at this moment I have no idea why :/ Because it is a simple download operation using FTP library.