Decodes a JSON-compatible wire value.
@override PlanId decode(Object? value) => PlanId.fromJson(value);