### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Retrieving certain records from Kinesis through `GetRecord` like so:
```
#!/bin/bash

SHARD_ITERATOR=$(aws kinesis get-shard-iterator \
    --endpoint-url=http://localhost:4566 \
    --shard-id shardId-000000000000 \
    --shard-iterator-type TRIM_HORIZON \
    --stream-name dbsync.events \
    --query 'ShardIterator')

aws --endpoint-url=http://localhost:4566 kinesis get-records --shard-iterator $SHARD_ITERATOR 
```
seems to fail consistently with the following error message:
```
An error occurred (InternalError) when calling the GetRecords operation (reached max retries: 2): exception while calling kinesis.GetRecords: Traceback (most recent call last):
  File "/opt/code/localstack/localstack/aws/chain.py", line 57, in handle
    handler(self, self.context, response)
  File "/opt/code/localstack/localstack/aws/handlers/service.py", line 121, in __call__
    handler(chain, context, response)
  File "/opt/code/localstack/localstack/aws/handlers/legacy.py", line 69, in __call__
    result = self.forward_request(
  File "/opt/code/localstack/localstack/aws/handlers/legacy.py", line 129, in forward_request
    return do_forward_request(
  File "/opt/code/localstack/localstack/services/edge.py", line 225, in do_forward_request
    result = do_forward_request_inmem(api, method, path, data, headers, port=port)
  File "/opt/code/localstack/localstack/services/edge.py", line 249, in do_forward_request_inmem
    response = modify_and_forward(
  File "/opt/code/localstack/localstack/services/generic_proxy.py", line 604, in wrapper
    value = func(*args, **kwargs)
  File "/opt/code/localstack/localstack/services/generic_proxy.py", line 777, in modify_and_forward
    updated_response = listener.return_response(
  File "/opt/code/localstack/localstack/services/kinesis/kinesis_listener.py", line 187, in return_response
    results, encoding_type = self.decode_content(response.content, True)
  File "/opt/code/localstack/localstack/services/kinesis/kinesis_listener.py", line 264, in decode_content
    decoded = json.loads(to_str(data))
  File "/usr/local/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
```

My compose file includes the following entry for LocalStack:
```
localstack:
    container_name: localstack # required to run correctly
    image: localstack/localstack
    ports:
      - "4566:4566"
      - "4510-4559:4510-4559"
    environment:
      DEBUG: 1
      DOCKER_HOST: unix:///var/run/docker.sock
      KINESIS_INITIALIZE_STREAMS: dbsync:1,dbsync.events:1
    volumes:
      - ./dbsync/localstack:/var/lib/localstack
      - /var/run/docker.sock:/var/run/docker.sock
```

### Expected Behavior

I would expect the call to `GetRecords` to succeed given this works with production Kinesis.

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

See Current Behavior

### Environment

```markdown
- OS: MacOS Monterey (12.4)
- LocalStack: latest
```


### Anything else?

_No response_
self, kinesis_client, kinesis_create_stream, wait_for_stream_ready, wait_for_consumer_ready
    ):
        stream_name = "test-%s" % short_uid()
        
        kinesis_create_stream(StreamName=stream_name, ShardCount=1)
        stream_arn = kinesis_client.describe_stream(StreamName=stream_name)["StreamDescription"][
            "StreamARN"
        ]
        wait_for_stream_ready(stream_name)
        result = kinesis_client.register_stream_consumer(StreamARN=stream_arn, ConsumerName="c1")[
            "Consumer"
        ]
        consumer_arn = result["ConsumerARN"]
        wait_for_consumer_ready(consumer_arn=consumer_arn)
        
        response = kinesis_client.describe_stream(StreamName=stream_name)
        shard_id = response.get("StreamDescription").get("Shards")[0].get("ShardId")
        result = kinesis_client.subscribe_to_shard(
            ConsumerARN=result["ConsumerARN"],