use mortar json decoder, JSON doesn't exist in ruby 1.8