var sensors = JSON.parse(value).sensors;

result = sensors.map(function (sensor) {
	return {
		'id': sensor.MemberId,
		'name': sensor.Name,
		'chassis_id': sensor.chassisId,
		'state': sensor.Status.State,
		'context': sensor.PhysicalContext
	};
});

return JSON.stringify(result);