Fixed methods argument behavior in json and iframe view.