fix(webapp): migrate to typed variables API

related to #CAM-2889