My guess would be that it rewrites the UUID to v5. I think the UUID.randomUUID() Method creates a v4 UUID, and I did not test if it would work with just that.  
It works fine for NPCs, so I left it that way.