JSON reading/writing support, as well as a standard implementation for `toString()` which produces parseable log output.