tructformatter extends ruby Structs, Arrays, and Hashes to be outputted as strings, xml, and json, specifically, it adds .to_xml, .to_json, and .to_s.