Resolved an issue with AWS::SNS::Mesage and Ruby versions < 2.0.