static method. This allows servers to completely reset the Serializer's registry when restarting the server in the same JVM instance.