JSON has been part of the ruby stdlib since 1.9.0 (see https://github.com/ruby/ruby/commit/af1c4167), and the latest version of google-api-client requires ruby 2.0 or better so we can assume it's available