### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Sometimes `GetRecords` on a dynamodb stream will return a different base64 encoded value

### Expected Behavior

The `GetRecords` call should return the same base64 encoded value as `GetItem`

### How are you starting LocalStack?

With a `docker run` command

### Steps To Reproduce

#### Start LocalStack
```bash
# docker run --rm -it -p 4566:4566 -p 4510-4559:4510-4559 localstack/localstack
...
LocalStack version: 1.0.5.dev
LocalStack build date: 2022-08-29
LocalStack build git hash: bc8cb7ed
```

#### Run the following script
The original problem was in a Clojure program, I ported the exact failing case to python to help your debugging.
```python
from time import sleep
from uuid import uuid4
import boto3

endpoint_url = "http://localhost.localstack.cloud:4566"


def wait_for_table_active(dynamo_client, table_name):
    while True:
        response = dynamo_client.describe_table(TableName=table_name)
        table_status = response.get('Table', {}).get('TableStatus')
        if (table_status == 'ACTIVE'):
            return response
        sleep(1)


def poll_records(streams_client, shard_iterator):
    while True:
        response = streams_client.get_records(ShardIterator=shard_iterator)
        records = response.get('Records')
        if records:
            return records
        shard_iterator = response.get('NextShardIterator')


def main():
    boto3.set_stream_logger(name='botocore')
    table_name = 'StreamBug-' + str(uuid4())

    # nippy compressed bytes - this fails
    test_data = b'NPY\x08\x00\x00\x00\r\xd0i\x0bhello/world'
    # This works
    # test_data = 'hello/world'.encode()

    # aws clients - switch these to run on aws
    # dynamo_client = boto3.client('dynamodb')
    # streams_client = boto3.client('dynamodbstreams')
    dynamo_client = boto3.client('dynamodb', endpoint_url=endpoint_url)
    streams_client = boto3.client('dynamodbstreams', endpoint_url=endpoint_url)

    # create DynamoDB table
    dynamo_client.create_table(
        TableName=table_name,
        KeySchema=[{
            'AttributeName': '__pkey',
            'KeyType': 'HASH'
        }],
        AttributeDefinitions=[{
            'AttributeName': '__pkey',
            'AttributeType': 'S'
        }],
        BillingMode='PAY_PER_REQUEST',
        StreamSpecification={
            'StreamEnabled': True,
            'StreamViewType': 'NEW_IMAGE',
        }
    )

    table = wait_for_table_active(
        dynamo_client=dynamo_client,
        table_name=table_name
    )

    # There is an issue where the table is marked as ACTIVE, however issueing a
    # put-item immediately does not go into the stream.
    sleep(10)


    # put a dummy item to be used with the test
    dynamo_client.put_item(
        TableName=table_name,
        Item={
            '__pkey': {'S': 'test'},
            'data': {'B': test_data},
        }
    )

    dynamo_client.get_item(
        TableName=table_name,
        Key={'__pkey': {'S': 'test'}}
    )

    stream_arn = table['Table']['LatestStreamArn']

    shard_id = streams_client.describe_stream(StreamArn=stream_arn)[
        'StreamDescription']['Shards'][0]['ShardId']
    shard_iterator = streams_client.get_shard_iterator(
        StreamArn=stream_arn,
        ShardId=shard_id,
        ShardIteratorType='TRIM_HORIZON'
    )['ShardIterator']

    poll_records(streams_client=streams_client, shard_iterator=shard_iterator)

    # cleanup
    dynamo_client.delete_table(TableName=table_name)


if __name__ == "__main__":
    main()
```
look for the `GetItem` response body
```
2022-08-30 11:48:55,361 botocore.parsers [DEBUG] Response body:
b'{"Item": {"__pkey": {"S": "test"}, "data": {"B": "TlBZCAAAAA3QaQtoZWxsby93b3JsZA=="}}}'
```

look for the `GetRecords` response body
```
2022-08-30 11:48:55,436 botocore.parsers [DEBUG] Response body:
b'{"Records": [{"eventID": "c1ffbeeb", "eventVersion": "1.1", "dynamodb": {"ApproximateCreationDateTime": 1661874535.0, "SizeBytes": 86, "Keys": {"__pkey": {"S": "test"}}, "NewImage": {"__pkey": {"S": "test"}, "data": {"B": "TlBZCAAAAA3vv71pC2hlbGxvL3dvcmxk"}}, "StreamViewType": "NEW_IMAGE", "SequenceNumber": "49632833953051709227967803742008155050319272171947425794"}, "awsRegion": "eu-west-1", "eventSource": "aws:dynamodb", "eventName": "INSERT"}], "NextShardIterator": "AAAAAAAAAAHC3kaHiqEu2QMfgVQVl4V2uwXtFTVE3oNGtEO3bZ8a68TbYVSd9anOKoZ/TyTdLZcH0j49Ji8vOcGFxVOTxmf4hQlki2T7VTkDfLS7tVgQsr0Bvsz9AtZkxBgUCOEaFkwls4P4ApfhZz4QCIxlYEMPrCxhYwbDTmPsVAJHeKh9o7yDg1qCD5zbML838dYFx4zSI2T7RU5M2y+RPKwgMDrc4EL6A9WhaXC+uhLv2lac+W7+lfBIGyQePpmEYRAqZFo="}'
```

`GetItem` returns `{"B": "TlBZCAAAAA3QaQtoZWxsby93b3JsZA=="}`
`GetRecords` returns `{"B": "TlBZCAAAAA3vv71pC2hlbGxvL3dvcmxk"}}`



### Environment

```markdown
- OS: MacOS 12.5.1
- LocalStack: latest
```


### Anything else?

This may be related to https://github.com/localstack/localstack/issues/6700

Version `0.14.2` returns the value base64 encoded twice.
Version `0.14.0` works.

I have tested the script on AWS and it works as expected
import json
import re
from datetime import datetime
from time import sleep
from typing import Dict
import pytest
from boto3.dynamodb.conditions import Key
from boto3.dynamodb.types import STRING
from localstack.services.awslambda.lambda_utils import LAMBDA_RUNTIME_PYTHON36
from localstack.services.dynamodbstreams.dynamodbstreams_api import get_kinesis_stream_name
from localstack.testing.snapshots.transformer import SortingTransformer
from localstack.utils import testutil
from localstack.utils.aws import aws_stack
from localstack.utils.common import json_safe, long_uid, retry, short_uid
from localstack.utils.testutil import check_expected_lambda_log_events_length
from .awslambda.test_lambda import TEST_LAMBDA_PYTHON_ECHO
from .test_kinesis import get_shard_iterator
PARTITION_KEY = "id"
TEST_DDB_TABLE_NAME = "test-ddb-table-1"
TEST_DDB_TABLE_NAME_2 = "test-ddb-table-2"
TEST_DDB_TABLE_NAME_3 = "test-ddb-table-3"
TEST_DDB_TAGS = [
    {"Key": "Name", "Value": "test-table"},
    {"Key": "TestKey", "Value": "true"},
]
@pytest.fixture()
def dynamodb(dynamodb_resource):