How Invoke API call can return JSON response instead of XML response