--- a/arachni.gemspec
+++ b/arachni.gemspec
@@ -57,6 +57,7 @@ Gem::Specification.new do |s|
 
     # HTTP proxy server
     s.add_dependency 'http_parser.rb',      '0.6.0'
+    s.add_dependency 'json',                '2.1.0'
 
     # HTML report
     s.add_dependency 'coderay',             '1.1.0'
@@ -68,7 +69,7 @@ Gem::Specification.new do |s|
 
     if RUBY_PLATFORM != 'java'
         # Optimized JSON.
-        s.add_dependency 'oj',              '2.15.0'
+	s.add_dependency 'oj',              '3.3.10'
         s.add_dependency 'oj_mimic_json',   '1.0.1'
     end
 
