update support for types on deserializaiton