fix json gem issue #163
Merge pull request #171 from mroth/json_gem_issues

fix json gem issue #163