This should probably be moved into the function `bootstrapExpressLocals` in the linz.js file.