Kromann, Thomas Hvid, Det Kongelige Bibliotek, Danmark