Pass the stack as an array (in an object) to the template. (#83)