Japan records a trade deficit for the third straight fiscal year despite recovering exports