sanitize on object structures