Use ShortByteString in Document compression and cleanup