For the longest time I have been using `System.debug(JSON.Serialize(o))` to output objects to the debug log for troubleshooting purposes. This has worked up until my most recent project. Even existing code seems to be having this behavior.

I've tested API versions 41-45 with no luck. The actual line of code I'm using is:

```
system.debug(json.serialize(accountsToInsert)); // This is a map

```

I have also tried:

```
system.debug(json.serialize(accountsToInsert.get(Key)));

```

AND 

```
Account test = accountsToInsert.get(Key);
system.debug(json.serialize(test));

```

The code is called from a method defined in a VF page `action` attribute.

Is this just a thing that we have to live with now? Is there another way to get a full look into the state of an object at run time?