Add ItemsGroupAndIndexes#result_json and unittest