var ospfv3_neighbors = JSON.parse(value),
	result = {
		response: {
			'@status': 'success',
			data: []
		}
	};

if (ospfv3_neighbors.response['@status'] !== 'success') {
	ospfv3_neighbors.response.data = [];
	return JSON.stringify(ospfv3_neighbors);
}

if (ospfv3_neighbors.response.result.entry) {
	result.response.data = Array.isArray(ospfv3_neighbors.response.result.entry) ? ospfv3_neighbors.response.result.entry : [ospfv3_neighbors.response.result.entry];

	return JSON.stringify(result);
}

return JSON.stringify(result);