I found roots-records and got it to work with jade. However, I'm not that fluent in jade and decided to switch to swig. After the switch I can't access the records-variable, nor the item-variable. It turns out that no local variables are set in swig. Am I missing something crucial? The only thing I did was installing swig and replacing all .jade-files with .swig-files.