[API] Fixed incorrect escaping of multiple indices in the "Put Alias" API