     true
 
   componentDidUpdate: () ->
+    dash = fetch('state_dash')
     el = @refs.json_preview?.getDOMNode()
-    if el?.innerHTML.length < 10000
-      el.innerHTML = rainbows(el.innerHTML)
+    if el?.innerHTML.length < 50000
+      el.innerHTML = rainbows(JSON.stringify(arest.cache[dash.curr_obj], undefined, 3))
 reset_selection = () ->
   dash = fetch('state_dash')
   dash.selected = {owner: null, name: null, number: null}


      # Render the object
      PRE className: 'right', ref: 'json_preview',
        JSON.stringify(arest.cache[best_guess], undefined, 3)

  # Other methods
  search_results: () ->

          return key
      return null

    dash.curr_obj = first_key(search_results.key_matches) or \
                    first_key(search_results.data_matches)

    DIV className: 'state_dash',
      STYLE null,
