Use a hash of categories - step towards speeding up import