Text this: State and diplomacy in early modern Japan: