President Moon Jae-in, who often acted as a mediator for meeting between US and North Korea, is vowing to write a new history with Pyongyang.