Merge "adapt mong_to_elasticsearch.py to testAPI"