added bson_extract.cpp