Making the gem compatibale with ruby 1.8.7
adding in the json gem to make 1.8.7 work. All tests pass in 1.8.7