fix stringify.js for 'circular' objects

Hi Mikito,

Here is a quick fix to print objects that have a circular structure.

Thanks,
- Nicolas