Hashes for roles and apps