Encoding and decoding of text/parameters written by Go