Changes to add map key in the template JSON model