Hi,

I am using below payload for PutBucketLogging api and getting MalformedXML error in response. I have checked it with real AWS and it is working perfectly fine. Am I missing something or this needs a fix in localstack?

`"LoggingEnabled": {
            "TargetBucket": "test_bucket_name",
            "TargetPrefix": "log",
            "TargetGrants": [
                {
                    "Grantee": {
                        "URI": "http://acs.amazonaws.com/groups/s3/LogDelivery",
                        "Type": "Group",
                    },
                    "Permission": "WRITE",
                },
                {
                    "Grantee": {
                        "URI": "http://acs.amazonaws.com/groups/s3/LogDelivery",
                        "Type": "Group",
                    },
                    "Permission": "READ_ACP",
                },
            ],
        }
 `
snapshot.add_transformer(snapshot.transform.key_value("BucketName"))
        with 
            aws_client.s3.get_(Bucket=f"does-not-exist-{short_uid()}", Key="foobar")
        snapshot.match("expected_error", e.value.response)
    @pytest.mark.aws_validated
    @pytest.mark.skip_snapshot_verify(condition=is_old_provider, path="$..RequestID")
    def test_delete_bucket_no_such_bucket(self, snapshot, aws_client):
        with 
            aws_client.s3.delete_bucket(Bucket="does-not-exist-localstack-test")
        snapshot.match("expected_error", e.value.response)
    @pytest.mark.aws_validated
    @pytest.mark.skip_snapshot_verify(condition=is_old_provider, path="$..Error.BucketName")
    def test_get_bucket_notification_configuration_no_such_bucket(self, snapshot, aws_client):
        snapshot.add_transformer(snapshot.transform.key_value("BucketName"))
        with 
            aws_client.s3.get_bucket_notification_configuration(
                Bucket=f"doesnotexist-{short_uid()}"
            )
        snapshot.match("expected_error", e.value.response)
    @pytest.mark.aws_validated
    @pytest.mark.xfail(
        condition=LEGACY_S3_PROVIDER,
        reason="currently not implemented in moto, see https://github.com/localstack/localstack/issues/6217",
    )
    def test_get__attributes(self, s3_bucket, snapshot, s3_multipart_upload, aws_client):