actually pretty print when writing settings