Fix an infinite loop in serializing boxed types