base64 encode message before sending to sqs