updated json to support ruby 2.2.0