Changed hand.palmDirection to hand.direction to match main API. Changed data.palmDirection to data.direction to match JSON.