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"}}}
  
imports: import datetime
  import json
  import numpy
  import pandas
  import pytest
  from scipy.sparse import csr_matrix
  from raiutils.data_processing import convert_to_list, convert_to_string_list_dict, 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