Dependency to json from revision 1.7 to 1.9

For Ruby on Rails 4.1 compatibility.