public DataContractJsonSerialization(DataContractJsonSerializerFactoryMethod serializerFactory) : base(type => serializerFactory(type)) { }