Fix webapi reporting of recursive enumeration of window properties

See  https://bugzilla.mozilla.org/show_bug.cgi?id=1009089

I was returning the object I use to track which objects I've visited to avoid cycles rather than the actual results object.