[fx] use objects for communication with SharedWorker (normalization)