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",
                },
            ],
        }
 `
data = "1234567890 " * 100
        
        upload_file_ = BytesIO()
        mtime = 1676569620  # hard
        with gzip.GzipFile(fileobj=upload_file_, mode="w", mtime=mtime) as filestream:
            filestream.write(data.encode("utf-8"))
        # Up
        response = aws_client.s3.put_(
            Bucket=s3_bucket,
            Key="test.gz",
            ContentEncoding="gzip",
            Body=upload_file_.getvalue(),
        )
        snapshot.match("put-", response)
        # Down
        downloaded_ = aws_client.s3.get_(Bucket=s3_bucket, Key="test.gz")
        snapshot.match("get-", downloaded_)
        download_file_ = BytesIO(downloaded_["Body"].read())
        with gzip.GzipFile(fileobj=download_file_, mode="rb") as filestream:
            downloaded_data = filestream.read().decode("utf-8")
        assert downloaded_data == data
    @pytest.mark.aws_validated
    @pytest.mark.skip_snapshot_verify(condition=is_old_provider, paths=["$..VersionId"])
    def test_multipart_copy__etag(self, s3_bucket, s3_multipart_upload, snapshot, aws_client):