### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

event path doesn't have trailing slash

### Expected Behavior

event path should have trailing slash

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

{**'path': '/get_presigned_url'**, 'headers': {'Host': '0vcomlwzdi.execute-api.localhost.localstack.cloud:4566', .... more event logs .... }

### Environment

```markdown
- OS: Mac m1 
- LocalStack: 1.0.1
```


### Anything else?

noticing this while running a lambda test against localstack...in AWS the trailing slash in present
return str(refpath).startswith("#/")
    @property
    def current_path(self):
        return self._refpaths[-1]
    @contextlib.contextmanager
    def _pathctx(self, refpath: str):
        if not self._is_internal_ref(refpath):
            refpath = "/".join((self.current_path, refpath))
        self._refpaths.append(refpath)
        yield
        self._refpaths.pop()
    def _resolve_refpath(self, refpath: str) -> dict:
        if refpath in self._refpaths and not self.allow_recursive:
            raise Exception("recursion detected with allow_recursive=False")
        if refpath in self._cache:
            return self._cache.get(refpath)
        with self._pathctx(refpath):
            if self._is_internal_ref(self.current_path):
                cur = self.document
            else:
                raise NotImplementedError("External references not yet supported.")
            for step in self.current_path.split("/")[1:]:
                cur = cur.get(step)
            self._cache[self.current_path] = cur
            return cur
    def _namespaced_resolution(self, namespace: str, data: Union[dict, list]) -> Union[dict, list]:
        with self._pathctx(namespace):
            return self._resolve_references(data)
    def _resolve_references(self, data) -> Union[dict, list]: