if (entry instanceof OIdentifiable) {
ORecord rec = ((OIdentifiable) entry).getRecord();
if (rec != null)
try {
objectJson = rec.toJSON(format);
buffer.append(objectJson);
} catch (Exception e) {
OLogManager.instance().error(this, "Error transforming record " + rec.getIdentity() + " to JSON", e);
}