JSTree - Sending user defined attributes with GET() method

JSTree - Sending user defined attributes with GET() method

NOTE: I've posted this to the JSTree Group but as yet the moderators have not cleared it!??!

I have a basic tree, which includes this section of code

"{
       data : { title : "00.00.00.00 Home",
               attributes : { "desc" : "HOME", "flys" : "FlyAway" } },
       attributes :
       {
               id : "00.00.00.00",
               desc : "Home"
       }
}"

As you can see I have several user defined attributes. Two in 'data
{ attributes }' being "desc" and "flys", and one user defined in
'attributes', being "desc". When I use JSON.stringify() on the GET()
method I would expect all of the user defined attributes to be
returned alongside the standard ones, but they aren't.

This is what I receive " {"attributes":{"id":"00.00.00.00"},"data":
{"title":"00.00.00.00 Home","attributes":{"desc":"HOME"}}} " which
clearly shows that the attribute 'data { attributes { desc } }' is
returned, but not 'data { attributes { flys } }' and nor is my
'attributes { desc }'.

Does anybody know if these user defined attributes should be returned
within GET()? If not, what exactly is the point in them? And also if
not, whereabouts in the code can I hard code in my user defined
attributes so that I CAN retrieve them using GET()?

OR, is there another way of retrieving my attributes?

Thanks for you help!

Martin