addition of geospatial trait for legacy type mongo queries