Fixed batch JSON for saving