Fixed JSONObject get methods to output more detailed exceptions.