deserializePayload

open fun <T> deserializePayload(payload: String, type: Class<T>): T