Added support for JSON output of indexItems