protected void initWithJson(String json) {

    Document document = new Document((BasicDBObject) DAOUtilities.parse(json));
    init(document);
  }
  public String toJson() {

    return DAOUtilities.serialize(this);
  }
  public AbstractDocument(Object object) {

    String json = DAOUtilities.serialize(object);
    initWithJson(json);
  }