fun SerializationContext.withWhitelist(classes: List<Class<*>>): SerializationContext
Helper method to return a new context based on this context with the given list of classes specifically whitelisted.