chg: [UI] Cleanup code for object template
chg: [UI] Cleanup code for object template

MISP/MISP,SteveClement/MISP,MISP/MISP,SteveClement/MISP,MISP/MISP,SteveClement/MISP,SteveClement/MISP,MISP/MISP,SteveClement/MISP,MISP/MISP