modified TypeSerializerBuilder to not use additional variable for deserialized object