fixing worker message payloads to always be serializable