Generalized type of stringify.