private List<DBpediaResource> parseJson(Text rawText, String annotatedText) throws AnnotationException {
List<DBpediaResource> entities = new ArrayList<DBpediaResource>();
JSONObject jsonObj = JSONObject.fromObject(annotatedText);
//System.out.println();
Set entries = jsonObj.entrySet();
for (Object o: entries) {
Map.Entry m = (Map.Entry) o;
String key = (String) m.getKey();
if (key.equals("doc")) continue;