Issue using JavaScript inline transformationPattern in mqtt things file

Also tried the suggestion in Inline JS transformation not working - #9 by airmax, but nothing changed.