Why add json gem?
Ruby 1.9 or later includes json library as standard.