Added repeatParameter to getJsonRepeat.