I think it was to slow down Harry and friends from chasing the Deathly Hallows. By making sure Hermione knew it was a children's book Dumbledore made her be the opposing force whenever Harry tried to chase it. And it worked too, right ? Hermione was the biggest opposition to chase the Hallows.