Update for newer JSON gem

Hopefully this resolves Ruby 2 problems.

[Fixes #14]