cleaned up JSONParser.cs