Initial json_call() and minor fix.