I meant it for the rendered html. Since type is the key in the json structure I have created. So it should be mode.type not mode.name. It turns up blank as there is no property as name in modeOfPayments.