importing bson, and trying that datetime serializer instead