Changed outdated structure of doGetSiteJournal

After checkout didn't work because of TypeError.