key_commit: fix collection document print