Ruby 1.9ifying hashes in producer.rb
Calling to_s on all messages so you can do this: producer.write(123)