Added the generation of a key_map.json file based on keyword references