This is almost entirely copy-pasted from `wai-middleware-rollbar` 0.8.4. The intent is to make the core data types available for other packages. If this gets unweildy, move it right back.