RestTemplate now works with JSON class and added local server AsyncTask