Allow functions to be called from the json