Updated gem to work with the new JSON 1.1 API