writeToString

Serializes key-value entries to a formatted string. Multi-line values are indented according to the inset strategy.