Encodes the output of toJson() as a string.
List<int> toUtf8() { return utf8.encode(json.encode(toJson())); }