save memory by giving little dictionaries to templates and the templates call function to retrieve all data (there is a problem with utf-8 encoding)