function main(state) {
  state.text = toUnicode(state.text);
}
{
    "api":1,
    "name":"To Unicode Escaped String",
    "description":"Converts a UTF8 string to unicode escape chars(js format)",
    "author":"luisfontes19",
    "icon":"broom",
    "tags":"string,unicode,convert,escape"
  }