Various additions and a big batch of bug fixes.
What is a beautified string? lol
It means it uses spaces/tabs/newline to format the data in a human-readable way. The alternative is a compact string with no spaces at all, which is smaller and quicker to parse, but harder to read.