export text and encoded object