Moved the dependency for the json gem from the gemspec into the Gemfile

As @pd pointed out, putting conditional flags in the gemspec only has an
affect when packaging the gem, and does not help end users.

I've put it in the Gemfile instead, which will only help developers, but
at least bundler has the concept of platforms