Merge _index and _type into result document