code: def test_model_serialization_with_numpy_nan():
      record = Text2TextRecord(
          text="My name is Sarah and I love my dog.",
          metadata={"nan": numpy.nan},
      )
  
      json.loads(record.json())
  
imports: import datetime
  import json
  import uuid
  from typing import Any, Optional
  import numpy
  import pandas
  import pytest
  from argilla.client.models import Text2TextRecord, TextClassificationRecord, TokenClassificationRecord, _Validators
  from pydantic import ValidationError
label_desc: Use image node_id 11 for calling a global function with example usage: test_model_serialization_with_numpy_nan() without return types