Simplified the use of hash_map types and removed the customized hash function, which was causing our image metadata cache to work incorrectly. Removed the const prefix from all hash maps keys.