fixed json require for non jruby environments