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",
                },
            ],
        }
 `
# ju
        # sa
        # ht
        snapshot.add_transformer(snapshot.transform.key_value("Resource"))
        # pu
        policy = {
            "Version": "2012-10-17",
            "Statement": [
                {
                    "Action": "s3:Ge",
                    "Effect": "Allow",
                    "Resource": f"arn:aws:s3:::{s3_bucket}/*",
                    "Principal": {"AWS": "*"},
                }
            ],
        }
        response = aws_client.s3.put_bucket_policy(Bucket=s3_bucket, Policy=json.dumps(policy))
        # as
        snapshot.match("put-bucket-policy", response)
        # re
        response = aws_client.s3.get_bucket_policy(Bucket=s3_bucket)
        snapshot.match("get-bucket-policy", response)
        assert policy == json.loads(response["Policy"])
    @pytest.mark.aws_validated
    @pytest.mark.xfail(
        condition=LEGACY_S3_PROVIDER,
        reason="see https://github.com/localstack/localstack/issues/5769",
    )
    def test_put__tagging_empty_list(self, s3_bucket, snapshot, aws_client):