Show objects in env tab

Also, allow passing the backtrace through the env, and coerce any array backtraces we're given into strings before saving.

Companion to https://github.com/discourse/discourse/pull/2532