Add format=json if not there