If you need to tell your readers something ... there are only two characters that you can put it convincingly into their dialogue. One is Hermione, the other is Dumbledore. In both cases you accept, it's plausible that they have, well Dumbledore knows pretty much everything anyway, but that Hermione has read it somewhere. So, she's handy.