code: def test_embedded_object(self):
      class A:
          def __init__(self):
              self.a_data = "a"
  
      class B:
          def __init__(self):
              self.b_data = A()
  
      result = serialize_json_safe({"B": B()})
      assert result == {"B": {"b_data": {"a_data": "a"}}}
  
file_path: responsible-ai-toolbox/responsibleai/tests/test_serialization_utilities.py
imports: import datetime
  import json
  import numpy
  import pandas
  from responsibleai.serialization_utilities import serialize_json_safe
label_desc: Use image node_id 1 for calling the TestSerializationUtilities obj's underlying member method code with example usage: obj.test_embedded_object() without return types