replace domain hash maps with java hashmaps since those are mysteriously much faster