data now written in JSON format

There was a bug where I was writing the Python object, rather than the
JSON string, to files when saving ET data. Fixed it.