GoJS/GoDiagram node locations compatibility

I get “TypeError: Converting circular structure to JSON.” Here image of object displayed on the console: