public JToken Serialize(ValueModel value) { Type valueType = value == null ? typeof(NullModel) : value.GetType(); var strat = GetSerializerStrategy(valueType); return(strat == null?JValue.CreateNull() : strat.Serialize(value)); }