code: func CleanseJSON(j []byte) ([]byte, error) {
  	var m map[string]interface{}
  
  	err := json.Unmarshal(j, &m)
  	if err != nil {
  		return nil, err
  	}
  
  	return json.Marshal(Cleanse(m))
  }
docs: // CleanseJSON returns a new mapping with bleve-mapping-ui entries
  // removed/cleansed so that it will pass bleve's strict parsing.