BasicDBObject db01 = new BasicDBObject("index", 1);
BasicDBObject db02 = new BasicDBObject("index", 2);
BasicDBObject db03 = new BasicDBObject("index", 3);
dbl.addAll(Arrays.asList(db01, db02, db03));
ResponsePojo rp2 = new ResponsePojo(null, dbl, (BasePojoApiMap<BasicDBList>)null);
System.out.println("DBO=" + rp2.toApi());
//API: test the V0 DocumentPojo, which has a few differences (including a static version for raw modification)
BasicDBObject docApiDbo = (BasicDBObject) DbManager.getDocument().getMetadata().findOne();
// (remove a few things to tidy up display)
docApiDbo.remove("entities");