I'm trying to migrate one of my projects which publishes a plugin, and
this was blocking me.
Looks like key is typed as `export type Key = string | number | any;`,
so we might need to make more changes here in the future.
Ran into an issue where we weren't responding with the correct status
code and passed response headers. This was a bit of a rabbit hole and it
was caused by us wrapping to more error handling middlewares than
necessary.