deserializePayload

abstract fun <T> deserializePayload(payload: P, type: Class<T>): T