to_txt is good for printing a human-readable version of an object
to be sent as plain text in an email or .txt file.
Returns a readable string with no embedded hypertext tags.
It prints the strings in the content for hypertext objects.
A thing prints the value of the string keys with a new line between each field.
It flattens the object and therefore isn't good for printing nested objects
to be read again.
If you would like the key printed for fields of a thing
use print_key=true .