Encodes value to json format
@alwaysThrows @override String toJson() { throw UnsupportedError("HDict.toJson"); }