[%- JAVASCRIPT -%] stash.set("obj", {"key1": "val1", "key2": "val2"}); [%- END -%] Key1: [% obj.key1 %] Key2: [% obj.key2 %]