testing json sending to server