This is often done via a standard RNN decoder that operates on a linearized target tree structure.
it is an open question of what specific linguistic formalism, if any, is the best structural representation for NMT.