added JSONParser class