This actually wouldn't bother me if it was just that some enemies have high loremaster, but it just seems to be something it's freely given instead of balanced into the builds and encounters.
I can't comment on all the nooks and crannies some data/code could be. But the standard locations, I don't see anything pointing to NPC types having high loremaster across the board.