Allow tooling API models produced by ProtocolToModelAdapter to be serialized.