Serializes the object to JSON.
@override Map<String, dynamic> toSerializeJson() { return {"public_key": point.toBytes()}; }