Added taskVariableXXX methods to rest for types JSON supports + test