Externalizing data encoding. Currently JSON works. In the process of fixing plain text.