Sending Object Properties

I’m working on a project that has to pass variables to (and later read them from) a URL encoded text file.

getURL("process.cgi", "", "POST");

This has worked until now, dumping all of _level0’s variables into the document, retrieving the relevant ones on load.

I’ve recently made some modifications so that I’m no longer storing all the variables in _level0, but some of them as custom properties of objects, e.g.:

t1c1r1.customproperty = 6;
t1c2r1.customproperty = 5;

In these cases, the properties are not being passed to the process.cgi, and not getting recorded in the text file.

I suppose I could flatten the variables out, record them on _level0,

t1c1r1_customproperty = 6;

but I’m wondering if there’s a way to send these variables as is.