What is the preferred method of storing object using pattr?

Lee's icon

Hi, I'm trying to use setvalueof()/getvalueof() to store object lists and hierarchies in js, but it doesn't seem to be able to serialize/unserialize objects....

is there a preferred method of handling this? I can only seem to work with primivit types...

Thx Lee