Added require 'json' to ensure no failure when calling using AWS.config....

...credentials

https://github.com/aws/aws-sdk-ruby/issues/566