fix json parse

change elasticsearch's index type