That's incorrect. This is not YAML-style full object serialization, but rather a global ID being sent along the wire that is transparently looked up at deserialization.
See the example here: https://github.com/rails/rails/tree/master/activejob#globali...