Hashmap and string capitalisation