A pearl of literature is a fine and suitable phrase. I think Bob was agreeing with you that it is a pearl, and to consider that a pearl starts as a piece of grit and ends as a beautiful pearl as it gathers its coating.
Exactly! And also that a pearl only grows because of an irritant. I think it's a perfect metaphor.