explicitly look for payload.type

`payload` outputs as `[Object object]`, which isn't useful. We actually want the payload type so that we know what to filter out.