removed bson dependency