change to queue::serializeJob and queue::unserializeJob