JsonParser now static class, added basic error handling for JsonParser