Stream objects over IO using Marshal, JSON, YAML, or Msgpack.