lib: add deserialization callbacks for worker threads
Have attempted to call the runDeserializeCallbacks()
in reference to // TODO(joyeecheung): do this for worker threads as well.
cc @joyeecheung
(I have a feeling there might be more work to this if yes any guidance would be appreciated)