### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

I am running an SNS topic that publishes to a lambda function. The localstack code reads a type byte object from the lambda function invocation payload [here](https://github.com/localstack/localstack/blob/master/localstack/services/sns/publisher.py#L187) and then tries to dump the result into json [here](https://github.com/localstack/localstack/blob/master/localstack/services/sns/publisher.py#L863) which results in the following error:
```
sns_pub_0] l.services.sns.publisher   : Unable to run Lambda function on SNS message: Object of type bytes is not JSON serializable
```

### Expected Behavior

The payload bytes should be converted to a string before being dumped to json. The error should not be thrown.

### 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 up
(Using the standard docker-compose.yaml)

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

```
awslocal sns publish --message file://sns/message.json --topic-arn arn:aws:sns:us-east-1:000000000000:<topic_name>
```

### Environment

```markdown
- OS: macOS Ventura 13.2.1
- LocalStack: latest
```


### Anything else?

_No response_
raise InvalidParameterException(
                f"Invalid parameter: FilterPolicyScope: Invalid value [{attribute_value}]. Please use either MessageBody or MessageAttributes"
            )
    elif attribute_name == "RawMessageDelivery":
        
        return
    elif attribute_name == "RedrivePolicy":
        try:
            dlq_target_arn = json.loads(attribute_value).get("deadLetterTargetArn", "")
        except json.JSONDecodeError:
            raise InvalidParameterException(
                "Invalid parameter: RedrivePolicy: failed to parse JSON."
            )
        try:
            parsed_arn = parse_arn(dlq_target_arn)
        except InvalidArnException:
            raise InvalidParameterException(
                "Invalid parameter: RedrivePolicy: deadLetterTargetArn is an invalid arn"
            )
        if topic_arn.endswith(".fifo"):
            if not parsed_arn["resource"].endswith(".fifo") or "sqs" not in parsed_arn["service"]:
                raise InvalidParameterException(
                    "Invalid parameter: RedrivePolicy: must use a FIFO queue as DLQ for a FIFO topic"
                )
def validate_message_attributes(message_attributes: MessageAttributeMap) -> None:
    """
    Validate the message attributes, and raises an exception if those do not follow AWS validation
    See: https://docs.aws.amazon.com/sns/latest/dg/sns-message-attributes.html
    Regex from: https://stackoverflow.com/questions/40718851/regex-that-does-not-allow-consecutive-dots
    :param message_attributes: the message attributes map for the message