private Text getField(String key) throws IOException {
            try {
                return new Text(next.getString(key));
            } catch (JSONException ex) {
                throw new IOException(ex);
            }
        }