Registers a serialization function for a `GBoxed` of type `gboxed_type` to a [struct@Json.
Node] of type `node_type`.
| gboxed_type |
a boxed type |
| node_type |
a node type |
| serialize_func |
serialization function |