Fixed json_record_limit being interpreted as 0.
Merge pull request #145 from jjmontesl/jjmontes/fix-json_record_limit

Fixed json_record_limit being interpreted as 0
Merge pull request #3 from Stiivi/master

latest from upstream