replacement = typeName;
urlService = urlService.replace(target, replacement);
urlService += "?includeInheritedProperties=true";
Entry entry = repo.getEntry(urlService);
AtomToJSON atom2json = new AtomToJSON();
JSONObject json = atom2json.entry2JSON(entry);
JSONObject typeTag = json.getJSONObject("type");
metadataTypes.put("metainfo-ctype"+ String.valueOf(i), typeTag.toString());
}