Send the contents of header_template_data as kwargs instead of listing them all out. I can send header_template_data as is as well since render is expecting args as well as kwargs. 

def render(self, *args, **kwargs):