Used Google's Gson API to parse Json objects.