     }
     
     private enum Case:String {
-        case Struct = "struct"
+        case CustomType = "type"
         case Dict = "dict"
         case Array = "array"
         case Str = "string"


    private class func unwrapCase(type:Serialized.Case, value:AnyObject) -> Serialized {
        switch type {
        case .Struct:
            return Unwrapper.unwrapStruct(value as! NSDictionary)
        default:
            return Unwrapper.unwrap(value)
        }

}

public enum Serialized: CustomStringConvertible {
    indirect case CustomType(typeName:String, data:Serialized)
    indirect case Dict([String:Serialized])
    indirect case Array([Serialized])
    case Str(String)
