replace list with immutable list in json runner