Add code completion to json interface