Add [Exposed=Window] and use toJSON
Edit
New
Add a description
of
Add [Exposed=Window] and use toJSON