[fix] Trim empty stack traces from the object. [minor] Added the location of the heap dump.
[fix] Trim empty stack traces from the object.
[minor] Added the location of the heap dump.

This happens when an "Maximum call stack size exceeded" error is triggered. As they
are generated without a `stack` property, we already defaulted to an empty string
in the last commit but this leaves an array with an empty string behind instead of
just an empty array.

observing/exception