Refactored create_data_map to return a hash map of Strings