Fix: json parsing completes though a short work buffer is used
Merge pull request #165 from KimmoMyllyoja/master

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