preventing an NPE with JSON parsing