Allowing custom types (external assemblies) being serialized