Fixed deserialization when ns==""
When ns=="" we return first type with matching name. Additionaly we throw an exception when another type with the same name is found.