Added dependency on "json" to prevent test failures on Ruby 1.8