bugfix for docsim results serialization

bugfix for docsim results serialization
* correction in index number