Fixed JSON call to server