Fix: json parsing completes though a short work buffer is used