Using BasicBSONObject instead of BSONObject + pretty interface.