Changes to support display of javacsript objects.
Added example with JSON formatting.