Changed core to use single shared bson parser instance