Add support for 2dsphere and text index types