NXP-12595: make workers serializable