Refine the ObjToStringUtil utility.