communicate with saltmaster using json