Manually print highstate 'changes' dicts to preserve newlines in strings

Fixes #3197