fn split_index_features( features: BTreeMap<String, Vec<String>> ) -> (BTreeMap<String, Vec<String>>, Option<BTreeMap<String, Vec<String>>>)