Crash during script startup

If you want to store js objects you need to convert them to json strings and then parse them to read them back.
If js object contains Opus objects such as vectors or maps, you need to do stringify "manually" to handle these objects.
Examples exist in my CommonLogger script in buttons/scripts sections.