Should use a virtual function for this. Declare a TemplateDeclaration::jsonProperties()