Textualizing Dreams in a Late Ming Encyclopedia