var neighbors = JSON.parse(value);

var result = neighbors.ospf3.map(function (neighbor) {
  return {
	'{#OSPFV3_NEIGHBOR_ADDR}': neighbor['neighbor_address'],
	'{#OSPFV3_ROUTER_NAME}': neighbor['router_name']
  };
});

return JSON.stringify(result);