var power_supplies = JSON.parse(value).psu;

result = power_supplies.map(function (psu) {
	return {
		'id': psu.MemberId,
		'chassis_id': psu.chassisId,
		'state': psu.Status.State
	};
});

return JSON.stringify(result);