fix(tasklist): serialize variables form correctly

Related to #CAM-2224