refactor: add type parameter to OCPP stack for request and response