This acts as a TOON Encoder. It takes structured data (JSON) and converts it into the TOON (Token-Oriented Object Notation) text format.
Its core function is to optimize large, uniform arrays of objects into a compact, tabular structure by declaring field names once, thereby significantly reducing the overall size and token count of the data.
Based on https://github.com/toon-format/toon.