start sending json to server