Cache lightbox config in templatetag instead of generating it at startup