Give json input to each function as named arguments.