# Type of request: This is a ...

[x] feature request

# Detailed description

Whenever we try to do delete template operation through AWS java SDK it is throwing 500 error with null message
AWS SDK version: version: 1.11.327

## Expected behavior

delete template operation should work properly deleting given template

## Actual behavior

Delete template operation is throwing 500 exception with null message
com.amazonaws.services.simpleemail.model.AmazonSimpleEmailServiceException: null (Service: AmazonSimpleEmailService; Status Code: 500; Error Code: 500 ; Request ID: null)

or through command line it is giving

Unable to parse response (syntax error: line 1, column 54), invalid XML received. Further retries may succeed:
b'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title xmlns="http://ses.amazonaws.com/doc/2010-01-31/">500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n'

# Steps to reproduce

1. use AWS java SDK in java project
2. make localstack up using docker latest image
3. perform delete template operation on already created template

## Command used to start LocalStack

docker run --env SERVICES=ses -p 4566:4566 localstack/localstack

## Client code 

val client: AmazonSimpleEmailService = AmazonSimpleEmailServiceClientBuilder.standard()
            .withEndpointConfiguration(endpoint).build()
val deleteTemplateResult = client.deleteTemplate(deleteTemplatesRequest)

 OR through the command line

 aws ses delete-template --template-name on_demand_template --region=us-east-1 --endpoint-url=http://localhost:4566

bodydatakey = 'Message.Body.Text.Data'
        if 'Message.Body.Html.Data' in self.querystring:
            bodydatakey = 'Message.Body.Html.Data'
        body = self.querystring.get(bodydatakey)[0]
        source = self.querystring.get('Source')[0]
        subject = self.querystring.get('Message.Subject.Data')[0]
        destinations = {'ToAddresses': [],
                        'CcAddresses': [], 'BccAddresses': []}
        for dest_type in destinations:
            
            for i in range(1, 52):
                field = 'Destination.%s.member.%s' % (dest_type, i)
                address = self.querystring.get(field)
                if address is None:
                    break
                destinations[dest_type].append(address[0])
        LOGGER.debug('Raw email\nFrom: %s\nTo: %s\nSubject: %s\nBody:\n%s'
                     % (source, destinations, subject, body))
        return email_responses_send_email_orig(self)
    email_responses.send_email = email_responses_send_email
    email_responses_list_templates_orig = email_responses.list_templates
    def list_templates(self):