Cordova Plugin doc should mention how to deal w/ custom keys It's not explicitly mentioned there.
like:
function onNotification(e) { alert(e.payload.foo); alert(e.payload.key); }
Update the README and the official documentation (e.g. JSDoc)