### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

When using DynamoDb streams (and kinesis) subsequent requests to put or update an item result in binary data being encoded in base64 format.
When an item is first created the record contains the correct data (binary, but not base64 encoded). Subsequent requests to the same item (put or update or delete) result in subsequent record data being encoded in base64.

This behavior is not observed at all when directly swapping in amazon/dynamodb-local or when using real aws.


### Expected Behavior

Binary data is not encoded in base64

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

#### How are you starting localstack (e.g., `bin/localstack` command, arguments, or `docker-compose.yml`)

 `docker-compose.yml`

```
localstack:
    image: localstack/localstack
    environment:
      - EDGE_PORT=8000
      - SERVICES=dynamodb,kinesis,s3,kms
```

#### Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

putItem, updateItem and deleteItem from the java sdk and also a records processor that can read the records created from the stream.


### Environment

```markdown
- OS:
- LocalStack:
```


### Anything else?

_No response_
ShardIteratorType="LATEST",
        )
        assert "ShardIterator" in response
        response = ddbstreams.get_shard_iterator(
            StreamArn=stream_arn,
            ShardId=result["StreamDescription"]["Shards"][0]["ShardId"],
            ShardIteratorType="AT_SEQUENCE_NUMBER",
            SequenceNumber=result["StreamDescription"]["Shards"][0]
            .get("SequenceNumberRange")
            .get("StartingSequenceNumber"),
        )
        assert "ShardIterator" in response
    @pytest.mark.only_localstack
    def test_dynamodb_create_table_with_class(
        self, dynamodb_client, dynamodb_create_table_with_parameters
    ):
        table_name = f"table_with_class_{short_uid()}"
        # crea
        result = dynamodb_create_table_with_parameters(
            TableName=table_name,
            KeySchema=[{"AttributeName": "id", "KeyType": "HASH"}],
            AttributeDefinitions=[{"AttributeName": "id", "AttributeType": "S"}],
            ProvisionedThroughput={"ReadCapacityUnits": 5, "WriteCapacityUnits": 5},
            TableClass="STANDARD",
        )
        assert result["TableDescription"]["TableClassSummary"]["TableClass"] == "STANDARD"
        result = dynamodb_client.describe_table(TableName=table_name)
        assert result["Table"]["TableClassSummary"]["TableClass"] == "STANDARD"
        result = dynamodb_client.update_table(
            TableName=table_name, TableClass="STANDARD_INFREQUENT_ACCESS"