   toJSON: ->
     @toObject()
 
-  inspect: ->
-    JSON.stringify(@values)
+  contentsForInspection: ->
+    values: JSON.stringify(@values)
 
   object = (key, value) ->
     result = {}

class Trix.Hash
  @fromCommonAttributesOfObjects: (objects = []) ->
    return new this unless objects.length
    hash = box(objects[0])

    box(values)

  constructor: (@values = {}) ->
    super

  add: (key, value) ->
    @merge(object(key, value))
