Handle CUSTOM index meta and string export

PYTHON-165