Fixed errors on handling batch and reading JSon
Merge pull request #20 from SergeyVasiliev/basic_bugfixes

Fixed errors on handling batch and reading JSon