fixes #6696 - API v2 - specify the key in which parameters would be wrapped rather than passing model name