Cleanup curlOptions for AWS