ingest fixes, python bulk indexing