toJson() not serializing userdata

Hi,
When I set some user data with addEvent or setUserData function, toJson can’t serialize the new property.

I found that adding these property when parse (with null value) it works.

For example:

var evento = {
start_date:ini,
end_date:fin,
text: this.XFUNCION,
section_id: this.XXLEGAJO,
esTNC: '1',
[b]seopId: this.rowIdSEOP [/b]// new string property
};

var eventoId = scheduler.addEvent(evento)
// or simply 
scheduler.setUserData(eventoId, 'seopId', "value")

In this case scheduler.toJson() doesn’t show the property seopId.

It’s a bug ?

What is the “[b]” tag for? Is that to set the text to “bold”? If so, remove that tag (and its closing segment) and just set the bold property of the text whenever you need to show it. Property names of structures and arrays can go without being bold.

Why to use userdata in the first place ? Event object can have any number of properties, that can be set at any moment

scheduler.getEvent().seopId = value;