var sfp_lines = JSON.parse(value);

var result = sfp_lines.metrics.map(function (line) {
  return {
	'{#LANEID}': line['lane_index'],
	'{#SFPIFNAME}': line['name'],
	'{#MULTI}': line['multi']
  };
});

return JSON.stringify(result);