make the call handler a callable for a json object