Check that nested datums are properly serialized