Ho.
So in some sense you want to be able to specify in a json file a python function to be called later.
I think the simplest would be to have a file containing all the possible callbacks and the json file just contains the name of the one you want to use. Then in your function you can just call the appropriate function.