Trying to get json from server.