Restrict adding align="center"

Is there any way to restrict adding the align="center" class="float-center" that get added during build to a certain element?

With using trustpilots automatic feedback service, you have to include some structured data within a script tag like the below, but during build, align="center" class="float-center" get added to the script tag, which then causes it to not be read correctly.

<script type="application/json+trustpilot">
    {
        "recipientName": "Name MacNameson",
        "referenceId": "1234abcd",
        "recipientEmail": "customer@example.com"
    }
</script>