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",
                },
            ],
        }
 `
# ha
        mtime = 1676569620
        with gzip.GzipFile(fileobj=upload_file_, mode="w", mtime=mtime) as filestream:
            filestream.write(data.encode("utf-8"))
        response = aws_client.s3.put_(
            Bucket=s3_bucket,
            Key=key,
            ContentEncoding="gzip",
            Body=upload_file_.getvalue(),
            ChecksumAlgorithm="SHA256",
        )
        snapshot.match("put-", response)
        get_ = aws_client.s3.get_(Bucket=s3_bucket, Key=key)
        # FI
        get_["Body"].read()
        snapshot.match("get-", get_)
        get__with_checksum = aws_client.s3.get_(
            Bucket=s3_bucket, Key=key, ChecksumMode="ENABLED"
        )
        get__with_checksum["Body"].read()
        snapshot.match("get--with-checksum", get__with_checksum)
        _attrs = aws_client.s3.get__attributes(
            Bucket=s3_bucket,
            Key=key,
            ObjectAttributes=["Checksum"],
        )
        snapshot.match("get--attrs", _attrs)
    @pytest.mark.aws_validated
    @pytest.mark.skip_snapshot_verify(condition=is_old_provider, paths=["$..AcceptRanges"])
    def test_s3_copy_metadata_replace(self, s3_create_bucket, snapshot, aws_client):