When an optional field has a default value, the field won't have a pointer type anymore but will still keep the `omitempty` tag.
For example the following thrift file:
Will be generated as:
If you create an instance of this struct and set the value to `false`:
And then json.Marshal `node`, the output will be:
Where it must be:
This happens because Go Marshal will ignore `zero values` if there is an `omitempty` tag attached to it.