Formatting of string value stored in variable from custom action


I am trying to executed a custom action to call an API and set some variable values and then calling skills-choice to print options with values from variables. Screenshot for reference.


The problem is that there is an “&” appearing in the value which I have set in variable.


My action’s code is like this.

return axios.get(apiUrl).then(res => {
      temp.category1 =[0].snippet.title
      temp.category2 =[1].snippet.title
      temp.category3 =[2].snippet.title