I fixed the problem with empty json for save / destroy operations.
I fixed xhr promise return for sync.
Latest version with correct cookies reader.