Fix document objects unicode string representation