Random encounter json location

I dug the data file for a while and couldn’t find the JSON file for the random encounter (random corpse etc)
anyone know where is their location?
thank you

Most functions there are hardcoded in https://github.com/CleverRaven/Cataclysm-DDA/blob/edd25980d0ca793ba11a7c37931a002c29f5e387/src/map_extras.cpp