Ensure json is available under Ruby 1.8