feat(format): allow to keep document info