BSON utilities for conversion between BSON-ASTs and scala objects