Enable expansion of large objects in environment list view

We don't call str() during environment listing for objects that are larger than 512K, since str() can be slow and can also cause copies.

This change makes it possible to get the contents of these objects after the initial list by fetching it on demand when the object is expanded.