How to create an editor for a string containing a serialized class in MVC3
===

I have a string property in my ViewModel which contains a serialized representation of one of ten possible classes, each class is very different so there is no base class for them.

    public string Configuration { get; set; }
    public string ConfigurationType { get; set;}

Ideally I would like to create a different editor template for each of the classes that could be deserialized into the property and them simply have

    <%= Html.EditorFor(l => l.Configuration)%>

Where I could somehow inform mvc that Configuration needs to be deserialized into an object of ConfigurationType for it to use the correct template and then deserialize back to a string again.

I appreciate that I'm light on details here but I'd like to keep things as abstract as possible so I don't muddy the waters too much.