Turn nested structs into maps, removing any __struct__ specific keys.
Turn nested structs into maps, removing any struct specific keys.