                         if React.isValidElement value
                             value
 
-                        else if J.util.isPlainObject value
+                        else if value instanceof J.Dict
                             $$ ('KeyValueTable'),
                                 obj: value
 



    render: ->
        keys = _.keys @prop.obj()
        if @prop.sortKeys() then keys.sort J.util.compare

        $$ ('table'),

                {}

            for key in keys
                value = @prop.obj().get(key)

                $$ ('tr'),
                    key: key
